package com.wanxi.web.service.shop;


import com.wanxi.enterprise.api.query.ShopQuery;
import com.wanxi.enterprise.api.result.CommonResult;
import com.wanxi.enterprise.api.vo.ShopAddInVo;
import com.wanxi.enterprise.api.vo.ShopFindAllOutVo;
import com.wanxi.enterprise.api.vo.ShopUpdateInVo;
import com.wanxi.shop.api.query.NearShopQuery;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * ClassName: ShopWebService
 * Description:
 * date: 2022/1/17 9:25
 *
 * @author lxl
 * @version 1.0
 * @since JDK 1.8
 */

public interface ShopWebService {


    CommonResult <List<ShopFindAllOutVo>> findShopAll(ShopQuery shopQuery);

    CommonResult findShopById(Long id);

    /**
     * @param shopAddInVo
     * @return
     */
    CommonResult addShop(ShopAddInVo shopAddInVo);

    CommonResult updateShopById(ShopUpdateInVo shopUpdateInVo);

    CommonResult deleteShopById(Long id);

}
